package com.easypoi.service;

import com.easypoi.entity.Person;

import java.util.List;

public interface PersonServer {
    /**
     * 查询所有数据
     * @return
     */
    List<Person> selectAll();

    /**
     *
     * @param username
     * @param password
     * @return
     */
    Person findByNameAndPassword(String username,String password);

    /**
     *
     * @param person
     * @return
     */
    int saveImport(Person person);
}
